package com.lagou.edu.homework.service.impl;

import com.lagou.edu.homework.dao.ResumeDAO;
import com.lagou.edu.homework.model.Resume;
import com.lagou.edu.homework.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.SQLException;

/**
 * @program: stage-3-module-2
 * @description:
 * @author: zhangxiaoyang
 * @date: 2020-08-25 23:05
 **/
@Service
public class DemoServiceImpl implements DemoService {


    @Autowired
    private ResumeDAO resumeDAO;

    @Override
    public Resume getById(Integer id) throws SQLException {
        return resumeDAO.getById(id);
    }
}
